package com.wangsan.study.domain;

import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * UserEntityRepository
 *
 * @author wangsan
 * @date 2016/12/13
 */
@Transactional
@Repository
public interface UserEntityRepository extends CrudRepository<UserEntity, Long> {

	UserEntity findByUsername(String username);
}
